home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1998 July / Software of the Month Club 1998 July.iso / mac / Education / Differences Game / Differences Game Instructions / Differences Game Instructions.rsrc / TEXT_129.txt < prev    next >
Encoding:
Text File  |  1998-05-06  |  11.1 KB  |  451 lines

  1.  
  2. Add the card numbers to the ΓÇ£Level of DifficultyΓÇ¥ buttons at this time:
  3.  
  4. ΓÇó Now is the time to complete the scripting for the ΓÇ£Level of Difficulty ΓÇ£ buttons. 
  5.   See Figure 4.
  6. ΓÇó When we wrote these button scripts (see Figure 5), we omitted the card id 
  7.   numbers.
  8. ΓÇó To get each game card id number, go to each game card and do the 
  9.    following:
  10.  
  11.        - select Options fron the Menu bar and drag down to Card Information.
  12.        - a window will appear which gives the card id number
  13.        - type this number into the script of the corresponding Level of Difficulty 
  14.          button (See Figure 5)
  15.        - push enter to save the script
  16.  
  17. The Game Instructions:
  18.  
  19. ΓÇó There will always be players who desire instructions to play a game. We will 
  20.   now address the problem of how to supply these instructions. Rather than 
  21.   making a separate card to show these instructions, we are going to make a 
  22.   popup field. 
  23.  
  24. ΓÇó A popup field is a field which ΓÇ£pops upΓÇ¥ and covers the whole card or part of 
  25.   the card on which it appears.
  26.  
  27. Making the ΓÇÿInstructionsΓÇÖ button: 
  28.  
  29. This button will cause a popup field containing the instructions to become visible. We will give the directions to make this field a little later.
  30.  
  31. ΓÇó To make the button, select the Button tool from the Tool palette. Hold down 
  32.   the Command Key (∩ú┐) as you click and drag a button to the size needed. 
  33.   The selected button can be resized, if needed, by clicking on a corner of the 
  34.   active button then dragging it to the required size. Place the button at the 
  35.   location shown in Figure 8.
  36.  
  37. Note: To select a button, choose the Button tool from the Tool palette, click
  38.             on the button. The edges of the button will appear to have
  39.             ΓÇÿmarching antsΓÇÖ around them.   
  40.  
  41. ΓÇó Script the ΓÇ£InstructionsΓÇ¥ card button as shown in Figure 15: 
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. Figure 15: ΓÇ£InstructionsΓÇ¥ card button script.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Hint: In order to keep a long script line visible within a short script window, we sometimes break the script and continue it on the following line. You will notice the symbol ( ┬¼ ) in the above script. This symbol means that the script line has been broken and will be continued on the line below. The command for this symbol is Option Returnonly  when in the script window.
  65.  
  66. Now comes some really tricky parts. Buckle up!
  67.  
  68. The ΓÇ£InstructionsΓÇ£ and ΓÇ£Back to GameΓÇ¥ button are layered, one button exactly on top the other button.
  69.  
  70. - When the game card is visible, the ΓÇ£InstructionsΓÇ¥ button must be visible. 
  71. - When the ΓÇ£Back to GameΓÇ¥ button is visible, the game instructions must be 
  72.    visible. 
  73.  
  74. Follow the instructions carefully.
  75.  
  76. ΓÇó These are the commands for moving a button to the top layer (∩ú┐ Shift +) 
  77.   and moving a button to a bottom layer (∩ú┐ Shift -). You may need them. 
  78.   (The above commands sometimes have to be repeated several times before 
  79.    they will work.) 
  80.  
  81.   Remember: A button or field must be active before it can be moved.
  82.  
  83. Making the ΓÇÿBack to GameΓÇÖ button: 
  84.  
  85. This button hides the popup field so you can see the game card again. 
  86.  
  87. ΓÇó  After the player has read the instructions, it may be confusing as to how to
  88.     return to the game. The only button visible will be the ΓÇ£InstructionsΓÇ¥ button.
  89.  
  90. ΓÇó The ΓÇ£Back to GameΓÇ¥ button is used to mask or hide the ΓÇ£InstructionsΓÇ¥  button 
  91.   and thus give a logical choice for the game player to return back to the 
  92.   game. See Figure 8.
  93.  
  94. ΓÇó  Make this button the same size and place it exactly over top of the
  95.    ΓÇ£InstructionsΓÇ¥ button. 
  96.  
  97. ΓÇó  Type the script for this button exactly as shown in Figure 16 . 
  98.  
  99. Figure 16: The ΓÇ£Back to GameΓÇ¥  button script.
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113. Create a Popup field for the button ΓÇ£InstructionsΓÇ¥:
  114.  
  115. ΓÇó Select the Field tool, place a field over the top of the graphics on the Game 
  116.   card. Name the field ΓÇ£InstructionsΓÇ¥ and position it on your card. Be sure it is 
  117.   large enough to cover any graphics that are on the card.
  118.       
  119. Note: The ΓÇ£InstructionsΓÇ¥ button should be visible at the lower, center part of 
  120.             the card between the two graphics as shown on the title page. See 
  121.             Figure 8.
  122.  
  123. ΓÇó When the card button is pushed, a Hidden Card Field will pop up.
  124.  
  125. ΓÇó To make this popup field, select the Field tool from the Tool palette. Click at 
  126.   the upper left hand side of the Game card, hold and drag diagonally down to 
  127.   the lower right hand corner of the Game card. Make the field just large 
  128.   enough to cover the graphics on the Game card.
  129.  
  130. ΓÇó Double-click on the active field to open the dialogue box. 
  131.     
  132. Note:  An active field has ΓÇ£marching antsΓÇ¥ around it, the same as an active button. 
  133.         
  134.  Set the field attributes to:
  135.  
  136.                                 - transparent
  137.                                    - name the field ΓÇ£InstructionsΓÇ¥
  138.  
  139. ΓÇó  Select the Browse tool. Click on the top, left-hand side of the field to set the 
  140.     flashing text insert point. Type the instructions for the game. 
  141.    
  142. Suggested instructions are shown in Figure 17.
  143.  
  144.  
  145. Figure 17:
  146. The ΓÇ£activeΓÇ¥ Instructions field showing the game instructions.
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. ΓÇó Select the Field tool, double-click on the field to open the dialogue  
  174.    box again. Select Lock Text. This will accomplish the following:
  175.  
  176.                   - No other typing can be done on the field unless it is unlocked, and
  177.  
  178.                   - the Browse tool will appear when the cursor is over the field instead  
  179.                  of the text insert line.
  180.  
  181. Possible problem areas:
  182.  
  183. Two difficulties which may arise from time to time:
  184.  
  185. 1) A player might decide to go to different level but forget to reset the game. 
  186.     This could cause the ΓÇ£Add 1 to scoreΓÇ¥ buttons to remain hidden. 
  187.  
  188. 2) The ΓÇ£Back to GameΓÇ¥ and ΓÇ£InstructionsΓÇ¥ buttons might switch positions. 
  189.      To solve these problems, I have added the following card script to each  
  190.      of the game cards. Remember,  to get to these script windows, go to each 
  191.      game card, hold down Option Command C, all at the same time. The 
  192.      card script window will open. Copy the script shown in Fig. 18.
  193.  
  194.  
  195.  
  196. Figure 18: The game card ΓÇ£card scriptΓÇ¥.
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216. Installing Sound in the Game: Option
  217.  (Any HyperCard resource mover will work)
  218.  
  219. ΓÇó To open the resource mover, ResCopy. 
  220.   
  221.   - Go to the HyperCard Home card (∩ú┐H). 
  222.   - While holding down the Command Key (∩ú┐), type the letter ΓÇ£MΓÇ¥.
  223.   - A small windoid will open towards the bottom of the computer screen. 
  224.   - Type ΓÇ£ResCopyΓÇ¥ into this windoid then push ΓÇ£ReturnΓÇ¥. 
  225.   - If the ResCopy resource is installed into your version of HyperCard, the 
  226.     ΓÇ£ResCopyΓÇ¥ window will open. See Figure 19.
  227.  
  228. Figure 19: Typing ResCopy into the windoid. 
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235. ΓÇó Open a favorite sound folder on one side of the ResCopy window and the
  236.   ΓÇ£Differences GameΓÇ¥ on the other. See Figure 20.
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249. Figure 20: ΓÇ£ResCopyΓÇ¥, the friendly resource mover.
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. ΓÇó Transfer sounds as desired to give the game character and to make it 
  275.   more fun for all to play. 
  276.  
  277. Note: It is extremely important to spell the name of the sounds correctly 
  278.            (including spacing, capital letters and punctuation) when scripting. If 
  279.            sounds have been transferred into the game and they will not  
  280.            play, this is a likely culprit!
  281.  
  282. Installing color resources: Option
  283.  
  284. The Title Page script should be typed exactly as shown in Figure 21. Note that this is an ΓÇ£openCardΓÇ¥ script (a script that runs as the so-scripted card opens). This script ensures that Color Text will load every time the card is reopened.
  285. ie. Returning back to the title page after playing one of the "Differences" games.
  286.  
  287. To get to the card script window, go to the Title Page (∩ú┐1).  Push 
  288. ∩ú┐ Option C, all at the same time. The card script window will open.
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297. Figure 21: The Title Page card script for the installation of color resources.
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311. Notes:  
  312.  
  313. 1) The numbers 180, 70 and 120, 70 in the above script refer to the 
  314.      coordinates of the location where you want the colored text to appear. 
  315.  
  316. Note: To get the coordinates, type xy into the message windoid and push the Return key. Move the mouse pointer over the card to select location for Color Text message. The coordinates will show in the message windoid. 
  317. See Fig. 22.
  318.  
  319. Figure 22: Type xy  in the message windoid.
  320.  
  321.  
  322.  
  323. 2) The numbers 28 and 34 refer to the text size.
  324.  
  325. Figure 23: Push Return and move the cursor about on the card until  location for message is determined.
  326.  
  327.  
  328.  
  329.  
  330.  
  331. 3) The numbers 3 and 4 refer to the color of the text .
  332.  
  333.      Alternate colors for you to use are:   
  334.  
  335.      0 = Black  1 = White  2 = Red   3 = Green  4 = Blue
  336.  
  337. 4) The text enclosed in quotations is the ΓÇ£stringΓÇ¥ (message) you wish to display.
  338.  
  339. The openStack script should be modified from that shown in Fig. 7  to that shown in Fig. 24 to include the Color Text script. This modification causes Color Text to load on opening of the stack.
  340.  
  341.  
  342.  
  343. Figure 24: The modified stack script showing installation of color resources. 
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361. SHAREWARE NOTE: The fee should be paid if the resource is used.
  362.  
  363. The XMCD ΓÇ£Color TextΓÇ¥ was written by:         
  364.  
  365.                             Jesse Boettcher
  366.                             1340 N. 68th St.
  367.                                 Milwaukee, WI 53213
  368.  
  369. - This shareware resource has been included with the game as a 
  370.   convenience. 
  371. - It can be installed into the Home stack of HyperCard, where it is easy to 
  372.   access using ResCopy.  
  373.              
  374. Protecting the Stack: Option (at teacher discretion only) 
  375.  
  376. To lock the stack up and thereby help to prevent players from cheating, students may use the Protect Stack feature of HyperCard.
  377.  
  378. ΓÇó To do this, go to the menu bar, choose File and drag down to Protect Stack. 
  379.   Select the boxes as shown in Figure 25.  
  380.  
  381. Note: Protect Stack and Can't Abort are features which must be used very carefully. 
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391. Figure 25: The ΓÇ£Protect StackΓÇ¥ window.
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408. ΓÇó CanΓÇÖt Modify Stack / CanΓÇÖt Delete Stack - These first two attributes 
  409.    must be selected as a pair. They prevent the stack from being modified or 
  410.    deleted (erased).
  411.  
  412. ΓÇó CanΓÇÖt Peek - This attribute prevents the player from looking at scripts,
  413.    finding locations of buttons and fields, etc.. It is suggested this property 
  414.   be set when the stack is completed to prevent others from 
  415.   locating buttons to click on and thus, scoring points.
  416.  
  417. ΓÇó Can't Abort - Controls whether the user may abort (stop) a script by typing 
  418.   (∩ú┐.) This is a dangerous property to set if you are still constructing 
  419.   the stack. You have no way of stopping an accidentally runaway script. 
  420.   This setting remains in effect even if you close the stack.
  421.  
  422. ΓÇó Set Password - It is suggested you not allow the students to choose their  
  423.   own password. If they forget their password, access to the stack will be 
  424.   denied. Keep a record of their passwords and explain to them the problem 
  425.   of forgetting passwords. Passwords are case insensitive (Using upper 
  426.   or lower case letters doesn't matter).
  427.  
  428. ΓÇó Private Access: This property prompts the use of a password. See above 
  429.   warning.
  430.  
  431. ΓÇó Browsing - Allows the player to play the game and look at the stack only. 
  432.   Tools are not available. This is the level the completed game should 
  433.   be left in. Scripting for this is shown in Figure 7.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.